package tw.com.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import tw.com.dao.SysCodeDAO;
import tw.com.dao.TestDAO;
import tw.com.to.SysCodeTO;
import tw.com.to.TestTO;

@Service
public class SysCodeServiceImpl implements SysCodeService {
    
	public static final String CODE_TYPE_PRODUCT_LINE="10";
    public static final String CODE_TYPE_FOCTORY_LOCATION ="46";
    
	@Autowired
	private SysCodeDAO sysCodeDao;


	@Transactional
	public List<SysCodeTO> listSysCode(String scType) {
		// TODO Auto-generated method stub
		return sysCodeDao.listSysCode(scType);
	}



}
